﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormItem;
using System.ComponentModel.DataAnnotations;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormDatabaseConfig;

namespace BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormConfig
{
	/// <summary>
	/// 工作流模板步骤表单配置
	/// </summary>
	public class WorkflowTemplateStepFormConfigPutDto : WorkflowTemplateStepFormConfigRequestDto
	{
		/// <summary>
		/// 工作流模板步骤表单配置Id
		/// </summary>		
		public long WorkflowTemplateStepFormConfigId { get; set; }
		/// <summary>
		/// 模板表单项
		/// </summary>		
		[Display(Name = "模板表单项")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public new List<WorkflowTemplateStepFormItemPutDto> FormItemTemplate { get; set; }
		/// <summary>
		/// 表单数据库配置列表
		/// </summary>		
		[Display(Name = "表单数据库配置列表")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public new List<WorkflowTemplateStepFormDatabaseConfigPutDto> DatabaseConfig { get; set; }

	}
}